function testFun(tab,fun)
	for k ,v in pairs (tab) do
		print(fun(k,v));
	end
end 

tab= {key1="jack",key2="jack2"}

testFun(tab,function (key,val)
  	return key .. "=" .. val;         
end
);





